Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Apr 18, 2023

zip library returns false for file permissions on Windows (library source), which is incompatible with file mode expected by Node.js File System API (File system API: chmod). This leads to TypeError in runtime.

adm-zip, instead, handles such cases correctly.

Fixes #CR-18233

`zip` library returns `false` for file permissions on Windows ([library source](https://github.com/kriskowal/zip/blob/master/zip.js#L227)), which is incompatible with file mode expected by Node.js File System API ([File system API: chmod](https://nodejs.org/docs/latest-v18.x/api/fs.html#file-modes)). This leads to TypeError in runtime.

`adm-zip`, instead, handles such cases correctly.

Fixes #CR-18233
@ghost ghost requested a review from yaroslav-codefresh April 18, 2023 15:25
@ghost ghost self-assigned this Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant